import {request} from "./request";

export function checkPhoneNumber(phoneNumber) {
    return request({
        method: "get",
        url: `router.php?t=register/checkPhoneNumber/${phoneNumber}/`,
    })
}

export function register(obj) {
    return request({
        method: "post",
        url: `router.php?t=register/register/`,
        data:JSON.stringify(obj)
    })
}

